 /**
 * Description: 物资出库记录
 * @author:Hunter
 * @since:1.0.0
 *
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-04-08   Hunter       1.0.0     Initial
 */
package com.metro.paperless.app.service.inf;

import com.metro.core.service.IService;
import com.metro.core.vo.JsonResult;
import com.metro.core.vo.inf.IResult;
import com.metro.paperless.app.beans.vo.AppMaterialsOut;
import com.metro.paperless.app.beans.vo.AppOutDetailForm;

 /**
 * 物资出库记录<br>
 *
 * @author:Hunter
 * @since:1.0.0
 * @version [1.0.0, 2018-04-08]
 */
public interface IAppMaterialsOutService extends IService<AppMaterialsOut>{

     /**
      * 保存出库记录和出库明细记录
      * @param outDetailForm
      * @param materialsOut
      * @return
      */
     JsonResult save(AppOutDetailForm outDetailForm , AppMaterialsOut materialsOut);

     /**
      * 更新出库记录盒出库明细
      * @param itemEntity
      * @param entity
      * @return
      */
     IResult update(AppOutDetailForm itemEntity, AppMaterialsOut entity);

     /**
      * 更新，作废
      * @param entity
      * @param invalid
      * @return
      */
     IResult update(AppMaterialsOut entity, String invalid);
 }